#{extends 'clubuser.html' /}
#{set 'moreStyles' }
    <link rel="stylesheet" media="screen" href="@{'/public/stylesheets/club.css'}">
#{/set}
#{set title:'New Member' /}

#{if flash.error}
    <p style="color:#c00">
        ${flash.error}
    </p>
#{/if}

<div class="center" style="width: 400px">

<h2 class="title">Add new Member</h2>
<br />

<form method="post" action="@{Club.saveMember()}" class="info">
	<table>
		<tr>
			<td>User Name</td>
			<td><input class="text" type="text" id="name" name="name" /></td>
			
		</tr>
		<tr>
			<td>Email</td>
			<td><input class="text" type="text" id="email" name="email" /></td>
			
		</tr>
		<tr>
			<td>Home Town</td>
			<td><input class="text" type="text" id="home_town" name="home_town" /></td>
			
		</tr>
		<tr>
			<td>Address</td>
			<td><input  class="text" type="text" id="address" name="address" /></td>
			
		</tr>
		<tr>
			<td>Activation End Date</td>
			<td><input class="text" type="text" id="activation_end" name="activation_end" /></td>
			
		</tr>
	</table>
	<table>
		<tr><td><input class="button" type="submit" value="Save" /><td></tr>
		<tr><td><input class="button" type="reset" value="Reset" /></td></tr>
	</table>
</form>
</div>